  <!-- *** CUT top -->
  <table width="800"  border="0" cellspacing="0" cellpadding="0" class="form" id="menu_item_top_table">
    <tr>
      <td align="left">
        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
              <div class="form_title">Menu Item</div>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <!-- If you don't want notes erase this START -->
    <tr>
      <td>
        <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="form_note">
          <!-- Repeat this fo additional notes START -->
          <tr>
            <td valign="top" align="left">
              <table width="100%"  border="0" cellspacing="0" cellpadding="4" class="form_note_title">
                <tr>
                  <td><img src="img/modules/form_html_tpl_static_ajax_metallic/exclamation_mark.png" border="0" alt="icon exclamation mark"  width="16" height="16" /></td>
                  <td width="100%" align="left">Note:</td>
                </tr>
              </table>
            </td>
            <td align="left" width="99%">
              <div class="form_note_text">Fields marked with &quot;*&quot; are mandatory.</div>
            </td>
          </tr>
          <!-- Repeat this fo additional notes END-->
        </table>
      </td>
    </tr>
    <!-- If you don't want notes erase this END -->
    <tr>
      <td>
        <div id="menu_item">
          <form onsubmit="submit_ajax_menu_item(); return false;" action="admin/menu/menu_item_edit.php" method="post" name="menu_item_form" enctype="application/x-www-form-urlencoded">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="left">
                  <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="form_row">
                    <tr>
                      <td class="form_even_row">
                        <!-- form_field_text menu_item_label START-->
                        <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                          <tr>
                            <td width="180">
                              <div align="right">Label*:</div>
                            </td>
                            <td width="1%">
                              <input class="form" name="menu_item_label" type="text" value="{$menu_item_label_val}" maxlength="255" size="40" id="menu_item_label"/>
                            </td>
                            <td>Free form text</td>
                          </tr>
                          {if $menu_item_label_has_error}
                          <!-- Potential errors START -->
                          {if $menu_item_label_error_mandatory_missing}
                          <!-- mandatory_missing START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Field is mandatory.</div>
                            </td>
                          </tr>
                          <!-- mandatory_missing END -->
                          {/if}
                          {if $menu_item_label_error_max_length_exceeded}
                          <!-- max_length_exceeded START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Allowed maximum of 255 characters exceeded.</div>
                            </td>
                          </tr>
                          <!-- max_length_exceeded END -->
                          {/if}
                          <!-- Potential errors END -->
                          {/if}
                        </table>
                        <!-- form_field_text menu_item_label END-->
                      </td>
                    </tr>
                    <tr>
                      <td class="form_odd_row">
                        <!-- form_field_text menu_item_link START-->
                        <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                          <tr>
                            <td width="180">
                              <div align="right">Link:</div>
                            </td>
                            <td width="1%">
                              <input class="form" name="menu_item_link" type="text" value="{$menu_item_link_val}" maxlength="255" size="40" id="menu_item_link"/>
                            </td>
                            <td>Valid link. Example: /admin/menu/menu_manage.php</td>
                          </tr>
                          {if $menu_item_link_has_error}
                          <!-- Potential errors START -->
                          {if $menu_item_link_error_mandatory_missing}
                          <!-- mandatory_missing START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Field is mandatory.</div>
                            </td>
                          </tr>
                          <!-- mandatory_missing END -->
                          {/if}
                          {if $menu_item_link_error_max_length_exceeded}
                          <!-- max_length_exceeded START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Allowed maximum of 255 characters exceeded.</div>
                            </td>
                          </tr>
                          <!-- max_length_exceeded END -->
                          {/if}
                          <!-- Potential errors END -->
                          {/if}
                        </table>
                        <!-- form_field_text menu_item_link END-->
                      </td>
                    </tr>
                    <tr>
                      <td class="form_even_row">
                        <!-- form_field_text menu_item_hid START-->
                        <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                          <tr>
                            <td width="180">
                              <div align="right">HID*:</div>
                            </td>
                            <td width="1%">
                              <input class="form" name="menu_item_hid" type="text" value="{$menu_item_hid_val}" maxlength="100" size="40" id="menu_item_hid"/>
                            </td>
                            <td>Unique identifier for this item. Alphanumeric, starting with letter, underscore allowed, max 100 characters.</td>
                          </tr>
                          {if $menu_item_hid_has_error}
                          <!-- Potential errors START -->
                          {if $menu_item_hid_error_mandatory_missing}
                          <!-- mandatory_missing START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Field is mandatory.</div>
                            </td>
                          </tr>
                          <!-- mandatory_missing END -->
                          {/if}
                          {if $menu_item_hid_error_max_length_exceeded}
                          <!-- max_length_exceeded START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Allowed maximum of 100 characters exceeded.</div>
                            </td>
                          </tr>
                          <!-- max_length_exceeded END -->
                          {/if}
                          {if $menu_item_hid_error_invalid_hid}
                          <!-- invalid_hid START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Invalid hid. Must be alphanumeric, starting with letter, underscore allowed. Example: adm2_list</div>
                            </td>
                          </tr>
                          <!-- invalid_hid END -->
                          {/if}
                          {if $menu_item_hid_error_not_unique}
                          <!-- not_unique START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: There is another item with same HID. Please choose different one.</div>
                            </td>
                          </tr>
                          <!-- not_unique END -->
                          {/if}
                          <!-- Potential errors END -->
                          {/if}
                        </table>
                        <!-- form_field_text menu_item_hid END-->
                      </td>
                    </tr>
                    <tr>
                      <td class="form_odd_row">
                        <!-- form_field_text menu_item_target START-->
                        <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                          <tr>
                            <td width="180">
                              <div align="right">Target:</div>
                            </td>
                            <td width="1%">
                              <input class="form" name="menu_item_target" type="text" value="{$menu_item_target_val}" maxlength="45" size="40" id="menu_item_target"/>
                            </td>
                            <td>&lt;a target="". Example: _blank</td>
                          </tr>
                          {if $menu_item_target_has_error}
                          <!-- Potential errors START -->
                          {if $menu_item_target_error_mandatory_missing}
                          <!-- mandatory_missing START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Field is mandatory.</div>
                            </td>
                          </tr>
                          <!-- mandatory_missing END -->
                          {/if}
                          {if $menu_item_target_error_max_length_exceeded}
                          <!-- max_length_exceeded START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Allowed maximum of 45 characters exceeded.</div>
                            </td>
                          </tr>
                          <!-- max_length_exceeded END -->
                          {/if}
                          <!-- Potential errors END -->
                          {/if}
                        </table>
                        <!-- form_field_text menu_item_target END-->
                      </td>
                    </tr>
                    <tr>
                      <td class="form_even_row">
                        <!-- form_field_integer_limited menu_item_order START-->
                        <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                          <tr>
                            <td width="180">
                              <div align="right">Order:</div>
                            </td>
                            <td width="1%">
                              <input class="form" name="menu_item_order" type="text" value="{$menu_item_order_val}" maxlength="4" size="40" id="menu_item_order" />
                            </td>
                            <td>
                              <div align="left"><nobr>Integer value between 0 and 1000.</nobr></div>
                            </td>
                          </tr>
                          {if $menu_item_order_has_error}
                          <!-- Potential errors START -->
                          {if $menu_item_order_error_mandatory_missing}
                          <!-- mandatory_missing START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Field is mandatory.</div>
                            </td>
                          </tr>
                          <!-- mandatory_missing END -->
                          {/if}
                          {if $menu_item_order_error_max_length_exceeded}
                          <!-- max_length_exceeded START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Allowed maximum of 4 characters exceeded.</div>
                            </td>
                          </tr>
                          <!-- max_length_exceeded END -->
                          {/if}
                          {if $menu_item_order_error_not_a_number}
                          <!-- not_a_number START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Must be number.</div>
                            </td>
                          </tr>
                          <!-- not_a_number END -->
                          {/if}
                          {if $menu_item_order_error_not_an_integer}
                          <!-- not_an_integer START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Must be integer value.</div>
                            </td>
                          </tr>
                          <!-- not_an_integer END -->
                          {/if}
                          {if $menu_item_order_error_integer_greater}
                          <!-- integer_greater START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Entered value is bigger than expected maximum of 1000.</div>
                            </td>
                          </tr>
                          <!-- integer_greater END -->
                          {/if}
                          {if $menu_item_order_error_integer_smaller}
                          <!-- integer_smaller START -->
                          <tr>
                            <td></td>
                            <td colspan="2">
                              <div class="form_error_message">Error: Entered value is smaller than expected minimum of 0.</div>
                            </td>
                          </tr>
                          <!-- integer_smaller END -->
                          {/if}
                          <!-- Potential errors END -->
                          {/if}
                        </table>
                        <!-- form_field_integer_limited menu_item_order END-->
                      </td>
                    </tr>
                  </table>
                  <input type="hidden" name="menu_item_form_id" value="{$menu_item_form_id_val}" id="menu_item_form_id"/>
                  <input type="hidden" name="menu_item_guard_value" value="{$menu_item_guard_value_val}" id="menu_item_guard_value"/>
                  <input type="hidden" name="menu_item_parent" value="{$menu_item_parent_val}" id="menu_item_parent"/>
					<input type="hidden" name="prefix" value="{$prefix}" id="prefix" />                  
                </td>
              </tr>
              <tr>
                <td align="left">
                  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="submit_row">
                    <tr>
                      <td width="180">&nbsp;</td>
                      <td width="100" align="left">
                        <input name="menu_item_submit" type="submit" value="Save" class="form_submit" />
                      </td>
                      <td width="50">&nbsp;</td>
                      <td>
                        <div class="form_cancel"><a href="/admin/menu/menu_manage.php?prefix={$prefix}">Cancel</a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </form>
        </div>
      </td>
    </tr>
  </table>
  <!-- *** CUT bottom -->
